﻿using Project.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Project.DTO
{
    /// <summary>
    /// 牙位
    /// </summary>
    public class ToothPositionPost
    {
        /// <summary>
        /// 订单编号
        /// </summary>
        //public Guid OrderDetailId { get; set; }

        /// <summary>
        /// 牙位
        /// </summary>
        [StringLength(10)]
        public string TopLeft { get; set; }
        [StringLength(10)]
        public string TopRight { get; set; }
        [StringLength(10)]
        public string BottomLeft { get; set; }
        [StringLength(10)]
        public string BottomRight { get; set; }

        /// <summary>
        /// 单价
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int Count { get; set; }

        /// <summary>
        /// 小计
        /// </summary>
        public decimal SumPrice { get; set; }

        /// <summary>
        /// 产品Id
        /// </summary>
        public Guid ProductId { get; set; }

      
    }
}
